package org.dlsu.mt.parser.generation;
public class PhraseContent extends ListElement
{
	private String phraseType;
	private PhraseList list;
	
	public PhraseContent(String type, PhraseList list)
	{
		phraseType = type;
		this.list = list;
	}
	
	public String getPhraseType()
	{
		return phraseType;
	}
	
	public PhraseList getList()
	{
		return list;
	}
	
	public String toString()
	{
		StringBuffer temp = new StringBuffer();
		temp.append("[" + phraseType + " phrase = " + '\n' + "HTPL([");
		
		temp.append(list.toString());
		
		temp.append("])");
		return temp.toString();
	}
}